package www.woniuxy.com.class112.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import www.woniuxy.com.class112.entity.TechnologyType;
import www.woniuxy.com.class112.entity.TechnologyTypeExample;

public interface TechnologyTypeMapper {
    long countByExample(TechnologyTypeExample example);

    int deleteByExample(TechnologyTypeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TechnologyType record);

    int insertSelective(TechnologyType record);

    List<TechnologyType> selectByExample(TechnologyTypeExample example);

    TechnologyType selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TechnologyType record, @Param("example") TechnologyTypeExample example);

    int updateByExample(@Param("record") TechnologyType record, @Param("example") TechnologyTypeExample example);

    int updateByPrimaryKeySelective(TechnologyType record);

    int updateByPrimaryKey(TechnologyType record);
    @Select("select technology_name from technology_type where id=#{id}")
    String selectName(Long id);
}